// ADOCommand.h: interface for the CADOCommand class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ADOCOMMAND_H__DAB9B4B4_A3FB_11D5_A074_0050BABCDD5F__INCLUDED_)
#define AFX_ADOCOMMAND_H__DAB9B4B4_A3FB_11D5_A074_0050BABCDD5F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CADODatabase;
class AFX_EXT_CLASS CADOCommand  
{
public:
	CADOCommand(CADODatabase* padoDB);
	BOOL Execute(CString sCommand,BOOL bProcedure = FALSE,BOOL bAsync = FALSE);
	CADOCommand();
	virtual ~CADOCommand();
private:
	CADODatabase* m_padoDB;
	_CommandPtr m_pCommand;
};

#endif // !defined(AFX_ADOCOMMAND_H__DAB9B4B4_A3FB_11D5_A074_0050BABCDD5F__INCLUDED_)
